package com.test.task.service;

import com.test.task.beans.User;
import com.test.task.dao.LoginDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @DATE 2021/6/19 - 19:30
 */
@Service
public class LoginServiceImlp implements LoginService{

    @Autowired
    private LoginDao loginDao;
    @Override
    public User login(User user) {
        return loginDao.login(user);
    }
}
